package com.codingclub.application.convert;

import com.codingclub.application.dto.SubjectCategoryDTO;
import com.codingclub.domain.bo.SubjectCategoryBO;
import com.codingclub.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {
    SubjectCategoryDTOConverter INSTANCE= Mappers.getMapper(SubjectCategoryDTOConverter.class);

    SubjectCategoryBO convertDtoToBo(SubjectCategoryDTO dto);

    SubjectCategory convertDtoToEntity(SubjectCategoryDTO dto);

    List<SubjectCategoryDTO> convertBoToDtoList(List<SubjectCategoryBO> boList);
}
